"""
使用type()检查变量的类型
Version: 0.1
Author: yuwl
Date: 2023-10-14
"""

a = 100
b = 12.345
c = 1 + 5j
d = 'hello, world'
e = 'A'
f = True

print(type(a) # <class 'int'>
print(type(b)) # <class 'float'>
print(type(c)) # <class 'complex'>
print(type(d)) # <class 'str'>
print(type(e)) # <class 'str'>
print(type(f)) # <class 'bool'>